package com.snail.auth.dao;

import com.common.core.BaseRepository;
import com.snail.auth.entity.AuthUser;

public interface AuthUserRep extends BaseRepository<AuthUser, Long> {

    AuthUser findByLoginName(String loginName);

    AuthUser findByLoginNameAndFlag(String loginName, Integer flag);

}

